A flexible code generator for MOF-based modeling languages

نویسنده

  • Lutz Bichler
چکیده

The Meta Object Facility (MOF) is the core component of OMGt’s ModelDriven Architecture (MDA). MOF defines the metamodeling language, which is used to define the languages which are used to model apllications, such as the Unified Modeling Language (UML). The importance of MOF will grow in the future, because more and more domain-specific modeling languages will be defined as extensions to or adaptations of the UML instead of being proprietary. To be really useful for software development, modeling languages need to be accompanied by tools. In this paper we present MOmoC, which is a model compiler based on the Extensible Stylesheet Language Transformations (XSLT) standard. MOmoC generates implementation code from XMI representations of MOF-metamodels. The compiler frontend mainly consists of generated code and creates an object representation from the XMI input file. This object representation is transformed into an internal XML representation, which is easier to process by XSLT than the input format XMI. The compiler backend generates implementation code by applying XSLT stylesheets to the internal XML representation of the MOF model. This architecture facilitates the adaptation of the generated code to specific purposes as well as the adaptation of the compiler to other MOF-based modeling languages. Therefore, we think that MOmoC can serve as a basis for automating the model transformations within MDA-based processes.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

The Bosco Project - A JMI-Compliant Template-based Code Generator

Bosco is a code generation tool, which goal is to accept any MOF model as parameter and follow the evolution of OMG standards. It generates the underlying model (also called repository) for any modeling language expressed in MOF. In other words, it reads XMI files and generates the corresponding source code, in different object-oriented languages (Java, Eiffel, Python, C++). In the case of Java...

متن کامل

Bridging WebML to Model-Driven Engineering: From DTDs to MOF

Meta-models are a prerequisite for model-driven engineering (MDE) in general and consequently for model-driven web engineering in particular. Various modelling languages, just as in the web engineering field, however, are not based on meta-models and standards, like OMG's prominent Meta Object Facility (MOF). Instead they define proprietary languages rather focused on notational aspects. Thus, ...

متن کامل

A Diagrammatic Formalisation of MOF-Based Modelling Languages

In Model-Driven Engineering (MDE) models are the primary artefacts of the software development process. The usage of these models have resulted in the introduction of a variety of modelling languages and frameworks. Many of these languages and frameworks are based on the Object Management Group’s (OMG) Meta-Object Facility (MOF). In addition to their diagrammatic syntax, these languages use the...

متن کامل

Generic Model Refactorings

Many modeling languages share some common concepts and principles. For example, Java, MOF, and UML share some aspects of the concepts of classes, methods, attributes, and inheritance. However, model transformations such as refactorings specified for a given language cannot be readily reused for another language because their related metamodels may be structurally different. Our aim is to enable...

متن کامل

Code Generator Composition for Model-Driven Engineering of Robotics Component & Connector Systems

Engineering software for robotics applications requires multidomain and application-specific solutions. Model-driven engineering and modeling language integration provide means for developing specialized, yet reusable models of robotics software architectures. Code generators transform these platform independent models into executable code specific to robotic platforms. Generative software engi...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2003